package com.tju.resource.tool.enum_utils;

import lombok.Getter;
import lombok.Setter;

/**
 * 功能类型
 *
 * @Author CLS
 * @Date 2022/4/25 19:00
 */
public enum FunctionType {
    List(1, "列表"),
    Add(2, "新增"),
    Modify(3, "修改"),
    Delete(4, "删除"),
    Import(5, "导入"),
    Export(6, "导出"),
    FirstInstance(7, "一审"),
    SecondInstance(8, "二审"),
    ThirdTrial(9, "三审"),
    Report(10, "报工"),
    AuditRecords(11, "审核记录"),
    ReturnMaterial(12, "退料"),
    ConfirmLogin(13, "移动端扫码确认登录"),
    OutwardAddConsumables(14, "外发新增耗材"),
    MaterialAddConsumables(15, "物料新增耗材"),
    MaterialRawMatl(16, "物料新增原料"),
    ProdPlanAddConsumables(17, "生产新增耗材");

    @Getter
    @Setter
    private Integer code;
    @Getter
    @Setter
    private String type;

    FunctionType(Integer code, String type) {
        this.type = type;
        this.code = code;
    }

}
